package com.orange.agent.rebangTody;

import com.orange.agent.rebangTody.consumer.RebangHttpConsumer;
import com.orange.agent.rebangTody.convert.HotNewsConverter;
import com.orange.bean.rebangTody.dto.request.HotNewsReq;
import com.orange.bean.rebangTody.dto.response.HotNewsRes;
import com.orange.common.base.entity.RequestData;
import com.orange.common.base.entity.ResponseData;
import com.orange.framework.consumer.annotation.ConsumerClient;
import com.orange.framework.consumer.annotation.HttpMapping;

/**
 * 新闻类Api
 *
 * @Author YWF
 * @Date 2025/9/3 15:55
 */
@ConsumerClient(consumerClass = RebangHttpConsumer.class)
public interface RebangAgentApi {


    @HttpMapping(transCode = "REBANG_HOTNEWS_QUERY", convert = HotNewsConverter.class)
    ResponseData<HotNewsRes> getNewsList(RequestData<HotNewsReq> requestData);

}
